package com.emergency.evaluate.service;


import com.emergency.evaluate.domain.Indicator;
import com.emergency.evaluate.domain.Weight;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;
import java.util.WeakHashMap;

/**
 * Created by Administrator on 2020/3/10.
 */
public  interface IndicatorService {
    //通过指标类型kind查询指标
    List <Indicator> findbykind(Integer kind);

    //通过指标编号 id 删除指标
    void deleteById(Long id);

    // 添加或修改指标
    List <Indicator> add(List <Indicator> indicatorList);

    //分页功能
    Page <Indicator> findList(Map searchMap, int page, int size);

    //录入权重
    List <Weight> addWeight(List <Weight> weightList);
}
